home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_300 / 333_02 / p038.awk < prev    next >
Text File  |  1989-04-21  |  148b  |  8 lines

  1.  
  2.  
  3. $4 == "Asia"        { pop += $3; ++n }
  4.  
  5. END            { print "Total population of the", n,    \
  6.                 "Asian countries is", pop, "million."
  7.             }
  8.